#include "readdatathread.h"
#include <QDebug>

ReadDataThread::ReadDataThread(QObject *parent) : QThread(parent)
{

}

void ReadDataThread::run()
{
    int i=0;
    while (true) {
        QThread::msleep(1000);
        qDebug() << "ReadDataThread running";
        emit testSig(i);
        i++;
    }

}
